<?php htmlTemplate('admin_header_frame.php');?>
<div class="title">月统计-付费率

</div>


<table width="100%" cellspacing="1" cellpadding="3" id="listTable">
  <tbody>
    	<tr>
		<td colspan="11">
		<form action="">			
		<input 
			id="c_sdatetime" 
			name="c_sdatetime" 
			type="text" 
			style="width:65px;"
			value='<?php 
			if (Http::get('c_sdatetime')){
				echo Http::get('c_sdatetime');
			}
			?>' class='date demo_time'  
			onClick="WdatePicker({skin:'whyGreen',dateFmt:'yyyy-MM-dd'})"
			>-<input 
			id="c_edatetime" 
			name="c_edatetime" 
			type="text" 
			style="width:65px;"
			value='<?php 
			if (Http::get('c_edatetime')){
				echo Http::get('c_edatetime');
			}
			?>' class='date demo_time'  
			onClick="WdatePicker({skin:'whyGreen',dateFmt:'yyyy-MM-dd'})"
			>
		<input type="submit" value="搜 索" class="btn"> 
		
		</form>
		</td>
	</tr>
  
  <tr>
  	<th align="left">付费日期</th>  
  	<th>登录人数</th>
  	<th>金币付费人数</th> 
  	<th>比索付费人数</th>   
  	<th>总付费人数</th>    
    <th>金币付费率</th>  
    <th>比索付费率</th>    
    <th>金币付费总额</th>
    <th>比索付费总额</th>
    <th>金币人均付费率</th>
    <th>比索人均付费率</th>
  </tr>

	<?php 
	
	if ($rs){

	
	?>
   <tr>
    <td align="left" > <?php echo Http::get('c_sdatetime');?>—<?php echo Http::get('c_edatetime');?></td>
    <td align="center">
	<?php echo $rs['loginCount'];?>
	</td>
	
	<td align="center">
	<?php echo $rs['payGoldUsers'];?>
	</td>
	<td align="center">
	<?php echo $rs['payMoneyUsers'];?>
	</td>
	<td align="center">
	<?php echo $rs['payUsers'];?>
	</td>
	<td align="center">
	<?php echo (@round($rs['payGoldUsers']/$rs['loginCount'],4)*100).'%';?>
	</td>
	<td align="center">
	<?php echo (@round($rs['payMoneyUsers']/$rs['loginCount'],4)*100).'%';?>
	</td>
	
	<td align="center">
	<?php echo $rs['payGlod'];?>
	</td>
	<td align="center">
	<?php echo $rs['payMoney']/10;?>
	</td>
	<td align="center">
	<?php echo (@round($rs['payGlod']/$rs['payUsers'],4)*100).'%';?>
	</td>
	<td align="center">
	<?php echo (@round($rs['payMoney']/10/$rs['payUsers'],4)*100).'%';?>
	</td>
  </tr>
  <?php }?>

 
 
  </tbody>
</table>
<?php htmlTemplate('admin_footer_frame.php');?>